package com.znufe.exam.viewmodel.admin.exam;

import com.znufe.exam.base.BasePage;
import lombok.Data;

@Data
public class ExamRuleRequestVM extends BasePage {
    private Integer id;

    private Integer subjectId;

    private Integer level;

    private String name;

    private Integer paperType;

    private Integer taskExamId;

    public static ExamRuleRequestVM wipeBlank(ExamRuleRequestVM model) {
        if (model.getName() != null) {
            model.setName(model.getName().trim());
        }
        return model;
    }
}

